.home_pays {
    width: 100%;
    height: 10vh;
    // border: 1px red solid;
    border-radius: 5px;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    background-image: url('../../../assets/home/back_scan.png');
    background-repeat: no-repeat;
    background-size:99% 100%;
}
ion-content{
    --background: #eff0f5;
}
.home_pays>a {
    color: black;
}

.home_pays>div {
    width: 30%;
    height: 30%;
}

.scan_img {
    width: 30px;
    height: 30px;
    margin: 0;
}


.home_pay_t {
    margin-top: 20px;
}

#home_detail {
    background-color: rgb(45, 122, 214);
    width: 100%;
    border-radius: 5px;
    // height: 140px;
}

#home_detail>div:first-child {
    width: 100%;
    height: 65%;
    //   background-color: red;
    border-radius: 5px;
    text-align: center;
    padding-top: 10px;
}

#home_detail>div:last-child {
    width: 100%;
    height: 27%;
    background-color: rgb(45, 122, 214);
}

.detail_text1 {
    color: white;
    font-size: 12px;
}

.detail_text2 {
    color: white;
    font-size: 24px;
}

.home_content {
    display: flex;
    flex-flow: column;
    height: 100%;
    width: 100vw;
    flex-direction: column;
    // justify-content: space-around;
    justify-content: flex-start;
    // background-color: #eff0f5;
}

.clean_padding{
    padding: 0px;
}
.box_bottom{
    // flex-basis:100px;
    margin-bottom: 24px;
}

#home_detail_bottom {
    width: 100%;
    position: absolute;
    height: 50px;
    top: 233px;
    text-align: center;
    line-height: 50px;
    // background-color: green;
    background-image: url(../../../assets/home/home_b.png);
    background-repeat: no-repeat;
    background-size: 100% auto;
    font-size: 16px;
    padding-top: 5px;

    a {
        color: #fff;
    }
}

#home_detail_options {
    color: white;
    text-align: center;
}

#detail_content {
    // margin: auto;
    overflow: hidden;
    height: 20vh;
    width: 100%;
}

// #home_detail_bottom::after { 
//     width: 140%; 
//     height: 100px; 
//     position: absolute; 
//     left: -20%; 
//     top: 0; 
//     z-index: -1; 
//     content: ''; 
//     border-radius: 0 0 50% 50%; 
//     background: linear-gradient(#2CBAF9, #04A9F4); 
// }


.detail_text3 {
    color: white;
    font-size: 10px;
    position: relative;
    margin: 0 auto;
    background-color: #ffffff73;
    width: 140px;
    line-height: 2;
    border-radius: 20px;
}

#ad {
    // background-color: #5a4eff;
    width: 100%;
    // height: 18vh;
    // position: relative;
    // margin-top: 2vh;
    flex-flow: row;
    display: flex;
    flex-direction: row;
}


.ad_info {
    width: 100%;
    height: 15vh;
    // border: 1px red solid;
    border-radius: 5px;
    background-image: url(../../../assets/home/item1.png);
    background-repeat: no-repeat;
    background-size: 100% 100%;
    ion-img{
        max-width: 100%;
        max-height: 100%;
        padding:0px;
        border: 0px;
        margin: 0px;
    }
}

.ad_info2 {
    width: 40%;
    height: 100%;
    float: right;
    border: rgb(2, 1, 1) 1px solid;
}

.ad_info1>span:first-child {
    font-size: 18px;
}

.ad_info1>span:last-child {
    font-size: 14px;
}

#home_bottom {
    // background-color: #2d7ad6;
    width: 100%;
    height: 26vh;
    // position: relative;
    // top: 10vh;
    font-size: 16px;
    display: flex;
    // flex-flow: column;
}

#home_bottom_info {
    display: flex;
    flex-flow: row;
    width: 100vw;
    height: 100%;

}

.home_bottom_left {
    float: left;
    width: 50%;
    // background-color: sandybrown;
    background-color: #fff;
    z-index: 99;
    // height: 93%;
    height: 14.6rem;
    border-radius: 5px;
    box-sizing: border-box;
    margin: 5px 2.5px 5px 0px;
    display: flex;
    flex-direction: column;
    flex-flow: column;
    justify-content: space-between;
    div{
        flex-basis: 48%;
        // height: 48%;
        height: 6.4em;
        // border: 1px #000 solid;
    }
}

.home_bottom_right {
    float: right;
    width: 49%;
    // background-color: rosybrown;
    // height: 95%;
}

.home_bottom_right_first {
    // background-color: slateblue;
    background-color: #fff;
    height: 47%;
    border-radius: 5px;
    box-sizing: border-box;
    margin: 5px 0px 5px 2.5px;
    display: flex;
    flex-direction: column;
    flex-flow: column;
    div{
        flex-basis: 100%;
        // border: 1px #000 solid;
    }
}

.home_bottom_right_last {
    // background-color: teal;
    background-color: #fff;
    height: 47%;
    border-radius: 5px;
    box-sizing: border-box;
    margin: 5px 0px 5px 2.5px;
}

.bottom_content {
    width: 100%;
    height: 28vh;
    // border: 1px red solid;
    display: flex;
    flex-direction: column;
}

#cart-badge {
    position: absolute;
    top: 5px;
    right: 0px;
    width: 22px;
    height: 16px;
}

.badge-display {
    display: none;
}

h1 {
    color: #fff;
}

.scan_text {
    left: 40px;
    position: relative;
    bottom: 28px;
}

.padding_half{
    // padding-left: 8px;
    padding-bottom: 8px;
    padding-right: 8px;
}

.img_box{
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
}

#img_area{
    flex-basis: 70%;
    // height: 100%;
    // height: 8.5em;
    float: right;
    margin-bottom: 8px;
    margin-right: 8px;
    border: 1px #000000 solid;
}
.clean_padding_bottom {
    padding-bottom: 0px;
}

#item_img_area{
    // flex-basis: 33%;
    width: 90%;
    height: 3rem;
    float: right;
    margin-bottom: 8px;
    margin-right: 8px;
    border: 1px #000000 solid;
}

.title_area{
    font-size: 18px;
}

.description_area{
    font-size: 12px;
}


.icon {
    width: 5vw;
    height: 3vh;
    vertical-align: -0.15em;
    fill: currentColor;
    overflow: hidden;
}

.text_white{
    color: #fff;;
}

h1{
    line-height: 1;
}

.header_area{
    font-weight: bold;
}